<?php
class GoodsViewModel extends ViewModel{
	//protected $tableName='goods';
	public $viewFields=array(
		'goods'=>array('id','listpic'),
		'intro'=>array('id'=>'iid','mini','medium','max','intro','service','_on'=>'goods.id=intro.gid')
		);
}
?>